﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Dispose.aspx.cs" validateRequest="false"  Inherits="HHWeb.SystemManage.PagePowers.Dispose" %>
<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><%=Command %>页面权限</title>
<style type="text/css">
#PagePower{width:650px; border:5px solid #FF0;display:none;z-index:100; }
</style>
<link href="../../Css/backCommon.css" rel="stylesheet" type="text/css" />
<script src="../../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
    $(function () {
        $("#BTSubmit").click(function () {
            if ($("#PagePowerName").val() == "" || $("#PagePowerName").val() == null) {
                alert("页面权限名称不能为空！");
                $("#PagePowerName").focus();
                return;
            }
            $("#form1").attr("method", "POST");
            $("#form1").submit();
        })
        //打开弹出层
        $("#BTPagePowerURL").click(function () {
            $("#PagePower").css({ "display": "block", "position": "absolute" });
            $("#PagePower").css({
                "top": "30%",
                "left": "30%"
            }).show("fast");
            $("#doing").css({ "display": "block", "width": screen.width - 5 + "px", "height": document.body.offsetHeight + "px" });
        })
        //关闭弹出层
        $("#BTColos").click(function () {
            $("#PagePower,#doing").css("display", "none");
        })
        $("#EditArea tr").hover(function () {
            $(this).css("background-color", "#ecf8ff");
        }, function () {
            $(this).css("background-color", "");
        })
    })
</script>
</head>
<body>
    <form id="form1" runat="server">
     <!--设置页面半透明层-->
    <div id="doing" style="opacity:0.3;filter: alpha(opacity=30); background-color:#CCC; z-index:1;position:absolute;top:0px;bottom:0px;left:0px;right:0px; display:none;">
    <div style="position:relative"><%--加上这个DIV兼容所有浏览器--%></div>
    </div>
    <%--弹出的层位置应该放在（设置页面半透明层）区域--%>
    <div id="PagePower">
    <table border="1" cellpadding="1" cellspacing="1" width="100%;">
    <tr><td>设置页面权限：</td><span id="BTColos">[关闭]</span></tr>
    <tr><td>
    <%=TreePagePowerURL %>
    </br>
    </br>
    </br>
    </br>
    </br>
    </br>
    </br>
    </br>
    </td>
    </tr>
    </table>
    </div>
    <!--设置页面半透明层-->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td height="30px" background="../../images/tab_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12px" height="30px"><img src="../../images/tab_03.gif" width="12px" height="30px"/></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="46%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="5%"><div align="center"><img src="../../images/tb.gif" width="16px" height="16px" /></div></td>
                <td width="95%" class="STYLE1"><span class="STYLE3">你当前的位置</span>：[业务中心]-[我的邮件]</td>
              </tr>
            </table></td>
            <td width="54%">&nbsp;</td>
          </tr>
        </table></td>
        <td width="16px"><img src="../../images/tab_07.gif" width="16px" height="30px" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8px" background="../../images/tab_12.gif">&nbsp;</td>
        <td>
    <%--Submit数据区头--%>
    <table id="EditArea" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr><td><span>页面权限名称：</span></td><td><input type="text" style=" width:300px;" id="PagePowerName" name="PagePowerName" class="TextCommon" value="<%=PagePowerName %>"/></td></tr>
    <tr><td><span>页面权限父级：</span></td><td><select id="ParentID" name="ParentID" class="Common">
    <option value="0">----页面权限父级----</option>
    <%=PagePowerInfo %>
    </select></td>
    </tr>
    <tr><td><span>页面权限路径：</span></td><td><input type="text" id="PagePowerURL" name="PagePowerURL" class="TextCommon" readonly="readonly"  style=" width:400px;" value="<%=PagePowerURL %>"/><input type="button" id="BTPagePowerURL" name="BTPagePowerURL" value="获取页面权限路径"/> </td></tr>
    <tr><td><span>页面权限状态：</span></td>
    <td><select id="OpenStatus" name="OpenStatus" class="Common">
    <option value="1" <%=OpenStatus=="1"?"selected=selected":"" %>>启用 </option>
    <option value="0" <%=OpenStatus=="0"?"selected=selected":"" %>>禁用 </option>
    </select></td>
    </tr>
    <tr><td><span>功能说明：</span></td>
    <td><textarea id="Functionintro" name="Functionintro"class="TextCommon" style="height: 80px; width: 450px"><%=Functionintro%></textarea></td>
    </tr>
    <tr><td><span>创建人：</span></td><td><input type="text" id="Creater" name="Creater" readonly="readonly" class="TextCommon" value="<%=Creater %>"/></td></tr>
    <tr><td><span>创建时间：</span></td><td><input type="text" id="CreateTime" name="CreateTime" readonly="readonly" class="TextCommon" value="<%=CreateTime %>"/></td></tr>
    <tr><td>&nbsp;</td><td>
    <input type="button" id="BTSubmit" name="BTSubmit" class="Common" value="确定" />
    </td></tr>
    </table>
    <%--Submit数据区尾--%>
    </td>
        <td width="8px" background="../../images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="35px" background="../../images/tab_19.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12px" height="35px"><img src="../../images/tab_18.gif" width="12px" height="35px" /></td>
        <td>
        <%--分页区头--%>
        <%--分页去尾--%>
        </td>
        <td width="16px"><img src="../../images/tab_20.gif" width="16px" height="35px" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</form>
</body>
</html>
